<?php
namespace app\index\model;

use think\Model;

class Captain extends Model
{
	//设置当前表默认日期时间显示格式
	protected $dateFormat = 'Y/m/d';
	
	// 开启自动写入时间戳
	protected $autoWriteTimestamp = true;	
	
	protected $updateTime = 'update_time';
	
	protected $type = [
			'hiredate'=>'timestamp'
	];
	

	
	
}